﻿using Prism.Ioc;
using Prism.Modularity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZuesControls.Controls;

namespace ZuesUI.Commons.MyPrism
{
    public class HomeModule : IModule
    {
        public void OnInitialized(IContainerProvider containerProvider)
        {

            //regionManager.RequestNavigate(RegionName.MainContentRegion, typeof(OperatorMonitoringView).FullName);
        }
        public IContainerRegistry _containerRegistry;
        //这里是为了注册导航视图，用于Prism框架下的页面切换
        public void RegisterTypes(IContainerRegistry containerRegistry)
        {
            _containerRegistry = containerRegistry;
            _containerRegistry.RegisterForNavigation(typeof(Views.TreeListView), typeof(Views.TreeListView).FullName);
          
        }
    }
}
